package fr.umlv.m2.jee.pmlv.persistence.cursus.dao;

import fr.umlv.m2.jee.pmlv.framework.dao.IDAO;
import fr.umlv.m2.jee.pmlv.persistence.cursus.Cursus;
import java.util.List;

/**
* In this interface you can add methods which represents
* request with a Cursus that we need in the application.
* @author jenseric
*
*/
public interface ICursusDAO extends IDAO< Long, Cursus > {
        public List<Cursus> findCursusByProfessorUidAndByYear(String uid, int year);
        public List<Cursus> findCursusByStudentUidAndByYear(String uid, int year);
        public Cursus findCursusBySubjectId(Long id);
}